Java tutorial
//package com.java2s; import org.apache.http.client.utils.CloneUtils; public class Main { public static Object clone(Object obj) { try { return CloneUtils.clone(obj); } catch (CloneNotSupportedException e) { e.printStackTrace(); return null; } } }