The iTunes application already provides the ways to remove duplicate music from its libraries. Open iTunes then go to View > Show Duplicate Items. After the software marks the duplicate files, go to Edit > Delete.
You have a picture to see where to access the function:
There is also a page with this information on the Apple website: https://support.apple.com/en-us/HT201812