Delete duplicates when inserting.