Implemented deleteDuplicates option support.