You're assuming there that self-identity requires continuity of consciousness.
(Also, the Federation explicitly exists in a universe where souls exist, so if you assume that souls travel to the new copy of the body instantly then they're killing them and then bringing them back to life!)
no subject
(Also, the Federation explicitly exists in a universe where souls exist, so if you assume that souls travel to the new copy of the body instantly then they're killing them and then bringing them back to life!)