If the digital copy is everything you are, then it is you
OK, say you're in a room with this copy of you, its a perfect copy of you.
And they say only one of you can leave (for obvious reasons) would you have no qualms about putting the gun to your head & pulling the trigger & be happy knowing that a copy of you would walk out of the room
Well it's unclear what happens to your consciousness when an exact copy of you is made.. is it just another, separate "you", with the same memories, experiences, skills, etc... completely independent of you, or are you somehow "linked" to him, like entangled particles or something? Because if it is exactly you, perhaps when one of your copies dies (even the original) you just get "transferred" to another copy like nothing happened, so you wouldn't really have died - one of your physical copies just stopped functioning. I guess it depends how you define consciousness.
Otherwise, he'd just be a completely different human, but just very similar to you - he'll basically start off being exactly like you, then deviate from your own path based on his actions, thoughts, etc.. in this respect he should be treated as a different person (perhaps a very close twin) so obviously the "only one of you can leave the room" rule would be wrong because you'd be putting one individual's life above another (even if they are almost the same person, but not quite) but then again we've never experienced anything remotely close to this, so I don't know how people would react to it ethically. It's difficult to conceptualize.
By the way, you'd always have people cheating the system and duplicating themselves regardless of any cloning regulations, unless the laws of physics prevent it..