Added the option to regenerate UUIDs when copying.