If I understand magnet protocol correctly, it doesn't matter. If two files are the same, they have the same hash, so the system (DHT) cannot tell them apart.
If the files are different (e.g. 256 and 320 bitrate mp3 files), then that is a completely different problem.