There should be an alert when you are adding a song to a playlist if the song is already in that playlist. This is already in the mobile app but should be added to the desktop version.
This is a duplicate of the original idea (which has been partly implemented as you mentioned): Way to prevent duplicates in playlists.
Please add your kudos and comments there instead. 🙂