How about this?
The difference being:
- If you’re retiring one then delete the source “Preferences.xml” so you don’t end up with a duplicate using the same name & UUID
- If you’re cloning to make a second server, delete the target preferences.xml (avoid duplication as well). and then setup again (but skip library section creation as this is retained in the process)