Creates a copy of a CAPI object.
An instance of a subclass of capi-object
A copy of
The generic function
clone returns a new object
which is a copy of
. It does not share any data with
, but has a copy of the useful part of its state.
The system contains methods on
clone. You may add methods on your own interface classes.
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015