public function filter(?callable $callback = null): Sequence
    {
        if (is_null($callback)) {
            return $this->duplicate($this->items->filter());
        }

        return $this->duplicate($this->items->filter($callback));
    }