Add duplicateNames; closes #16