Add dedup option (defaults to true)