I used to use Music Match, which did allow that. Unfortunatelyit's disappeared into iTunes. I think the problem is that it's a Mac program emulating a Windows one although on Hamrah's link you need an add-on to solve the problem.
Googling "duplicate files" has now solved the problem, I think. There are a number of solutions there.