Utility command that creates a duplicate of a [TclOO] object. : '''oo::copy''' ''sourceObject'' ?''targetObject''? After duplication of the object structure itself, it calls an internal method of the ''created'' object, '''''', to allow it to set up any advanced properties of the created object based on the source object (which is passed as an argument). The default implementation of that method in the [oo::object] class copies [procedure]s and [variable]s from the source object's [namespace], but does ''not'' copy any traces or commands implemented in C. Note that objects can potentially refuse to be duplicated. This causes an [error]. Generating an error from the '''''' method counts as refusal. **See also** * http://www.tcl.tk/man/tcl8.6/TclCmd/copy.htm <> Command