How To Merge Duplicate Photos On IPhone Without Deleting The Wrong Ones?

I found a bunch of duplicate photos on my iPhone and want to use the merge duplicates feature, but I’m worried it might keep the lower-quality version or remove photos I still need. What’s the safest way to merge duplicate iPhone photos without accidentally deleting the wrong ones?