It's intentional to only check for duplicate atoms during PDB import an not directly in InsertAtom, since it is completely valid for a few fileformats to have more than one atom with the same name.