src/IteratorPipeline/Traits/FilteringTrait.php
public function slice(int $offset, ?int $size = null)
    {
        return $this->then(i\iterable_slice, $offset, $size);
    }
public function slice(int $offset, ?int $size = null)
    {
        return $this->then(i\iterable_slice, $offset, $size);
    }
Get a limited subset of the elements using an offset.

@param int      $offset
@param int|null $size    size limit
@return static