I’ve got a group selected and was able to move that group with `translate` easily. I now need to duplicate that group and move the duplicate to another location. `group.duplicate(doc, ElementPlacement.PLACEATEND);` gives me the error “Error: Target layer cannot be modified”.
Suggestions?