copy
Returns a group with children and bounds in place of this group's own — the rebuild hook every group-preserving operation returns through.
The base implementation builds a plain GroupNode. A subclass overrides the hook to rebuild its own class around the replacement children, and then comes back as itself from every group-preserving operation. The result's runtime class must equal the receiver's — the operations check it and fail with a named error otherwise.
Return
The rebuilt group.
Parameters
children
The replacement children; this group's own when omitted.
bounds
The replacement bounds; this group's own when omitted.