public function createSet(\Traversable $iterator = null) { return new Set($iterator === null ? null : $this->toIterator($iterator)); }