public function uniqueBy($selector) { return $this->toMap(Functions::extractExpression($selector))->values(); }