public function slice(int $index, ?int $length = null): Sequence
    {
        $items = $length ?
            $this->items->slice($index, $length) :
            $this->items->slice($index);

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