Documenting preventDuplicates.