It\'s a bit difficult to implement a deep object copy function. What steps you take to ensure the original object and the cloned one share no reference?
Apache commons offers a fast way to deep clone an object.
My_Object object2= org.apache.commons.lang.SerializationUtils.clone(object1);