Calling this procedure copies the specified widget or the current widget (if no widget was specified) to the cutbuffer. The widget structure remains in the application, and the cutbuffer contains a copy of this widget structure. This procedure takes one optional argument. The argument specifies the widget path to be copied. If no widget path is specified, the current widget path is used.
If widgets inside of the copied widget structure are used by other widgets, these commands have to be adapted when the widget tree is pasted.