Fixed duplicate name check when copying temporal allocation; added check for duplicate name when saving temporal allocation