Out of the box there is nothing. You could inject some JS to prevent this if needed. Also, if there are duplicates, in v10 they will automatically be cleaned up/merged. In v9 or earlier, you will have to tell the system how you want to automatically merge contacts or manually merge them.