To my way of thinking, it’s a Versed question.
Versed (for those of you who don’t already know) is an anaesthetic, sort of. Ten years ago or thereabouts it was quite popular for colonoscopies and similar procedures.
The “sort of” part of it is as follows (if I understand correctly; if not, my incorrect understanding is still a good analogy): it doesn’t make you unconscious (although you’re at a reduced level of consciousness), nor does it block pain. But it interferes with memory: you won’t remember a thing.
If you don’t remember pain later, does it “matter”? Is pain that you can’t remember the same thing as “painless” ?
The OP question is basically “if YOU die and some other consciousness is then subsequently created and it has all of your memories as well as your form factor, did you really die in a way that matters or is the new consciousness just as ‘you’ as you are now?” I would think it does not matter to anyone else but as to whether it matters to YOU becomes a more complicated question. Who is “YOU” in this scenario?
I think I might be cool with the procedure (at least after watching it work on other people first) but defining “YOU” as “your memories and other mental-state attributes” is sort of begging the question if you see what I mean.