Usually this happens when you're on an unstable connection, this messes up the iCloud syncing. Just delete the duplicates. If don't have access to a stable network and you don't need it to sync between devices, consider turning off the notes syncing part of iCloud.