addCopyFactory<E> static method
Add a new factory.
Each type E
can only have one factory associated with it.
factory
must be of type CopyFactory or DeepCopyFactory, otherwise
an ArgumentError will be thrown.
Implementation
static void addCopyFactory<E>(DeepCopyFactory<E> factory) {
_copyFactories.add(factory);
}