Lucee object methods reference

Object Method Struct.duplicate

Returns a new duplicated version of the given object, removing all references to the old one
Struct.duplicate([boolean deepcopy]):any


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
deepcopy boolean  No true if set to true (default) also the child elements are cloned, otherwise the child elements are still the same as in the original object