I'm having some issues when trying to clone/copy an existing layout in order to modify the signatures without affecting the original layout. I've attempted to call createLayout method in layout service on the original to recreate, but while this does create a copy, it also deletes the original layout. I currently have a workaround by creating a new package and copying over all the data from the original layout, but feels like there's a better way to accomplish this. Is there a recommended way to copy layouts?
Thanks in advance,