Rather than delete the duplicates in this case, I think just fix the cause of the issue. This is not really a duplicates issue at all, it is a moving files issue. Wer, you might have read this post too fast.
See if you understand these instructions. If you only just upgraded your drive and removed the old one, this is best, as long as you used exactly the same directory structure on the new drive, and just copied the whole contents across. If you have imported a whole lot of new files, or have done a lot of work in the Library since the hard drive change, then this is not the best solution. Tell us if that is the case.
1. Turn off Auto Import in MC. Untick "Options > Library & Folders > Auto-Import > Run auto-import import in background.
Close MC.2. Reassign the drive letter of the new drive to what the old drive had. So if the old drive was M: and the new drive is T:, change the new drive letter to M: in Windows.
https://docs.microsoft.com/en-us/windows-server/storage/disk-management/change-a-drive-letter3. Restart MC and Restore a Library Backup from before the duplicates appeared. Don't restore settings, just the Library and Playlists.
https://wiki.jriver.com/index.php/Library_BackupMC should now be back exactly as it was before, using the new drive with the old drive letter, and there should be no duplicates. If you want you can turn Auto Import back on.
The above is the easiest and quickest fix to your problem. There are other ways to do it that are a bit harder, but also don't require the deletion of duplicates from the Library.