Try to create a deep clone of the provides object. This handles arrays,
collections and maps. If the class in not a supported standard JDK
collection type the genericClone will be used instead.
Parameters: object - The object to be copied.
Clone an Object if possible.
This method returns an Object which is a clone of the
input object. It checks if the method implements the
Cloneable interface and then uses reflection to invoke
the clone method.
Parameters: object - The object to be cloned. null if the cloning failed; or
This routine returns the base class of an object. This is just
the class of the object for non-arrays.
Parameters: object - The object whose base class you want to retrieve.