iTunes - Duplicates in music

Grrrrr! I'm kinda tired of having this happen. It seems like every few months my iTunes library gets all messed up and I end up with a ton of duplicates in there. I know I can find duplicates using that function in iTunes but does anyone have a better method of doing so or a better method of ensuring it doesn't happen again. I honestly have no idea why it happens.
I'm stumped but this is a friendly bump to try to get you an answer
I am interested too how to solve that mess

Original thread: https://forums.imore.com/threads/itunes-duplicates-in-music.271477/