Make deduplication optional.