The copy has all the attributes of the original widget including its widgets. Its attributes can be accessed only after it has been stored in a widgetlist
attribute of an Obj
or Widget
since initially the copy is not contained in such an attribute.
Returns
Widget
– a copy of the widget