You should be OK when importing your songs to a new computer and iTunes does have some built-in, but limited duplicate song removal functions. I personally prefer a program called Tune Sweeper, which automatically finds and removes duplicates, as well as downloading missing album art, fixing track data, etc. Check it out here http://www.wideanglesoftware.com/tunesweeper/
I tried a few programs when I needed to clean up my iTunes and Tune Sweeper was the best of the bunch - it cleaned up my iTunes of duplicates and fixed incorrect track data. There's a free demo download here http://www.wideanglesoftware.com/tunesweeper/