change param name to ignoreDuplicates
update tests to use new param name