I have an object that I need to copy in Java. I need to create a copy and run some tests on it without changing the original object itself.
I assumed that I needed t
You can use org.apache.commons.lang3.SerializationUtils class for object cloning, - Class should implement Serializable interface.
SerializationUtils.clone is also supported on Google App Engine instance