Purpose: Allows customization of how an object is cloned.
An implementer of CopyPolicy can be set on a descriptor to provide
special cloning routine for how an object is cloned in a unit of work.
By default the InstantiationCopyPolicy is used which creates a new instance of
the class to be copied into.
The MethodBasedCopyPolicy can also be used that uses a clone method in the object
to clone the object. |