public function setDownstreamDuplicates(array $duplicates, $merge = true)
    {
        if ($merge) {
            $this->downstreamDuplicates = array_merge($this->downstreamDuplicates, $duplicates);
        } else {
            $this->downstreamDuplicates = $duplicates;
        }

        return $this;
    }