private function unsortedIterator() { $data = []; foreach ($this->source as $key => $value) { if (!in_array($value, $data, $this->strict)) { $data[] = $value; (yield $key => $value); } } }