Added DeleteAllDuplicates Option