public function chunk($length)
    {
        if ($length <= 0) {
            return $this;
        }

        $chunks = [];

        foreach (array_chunk($this->items, $length, true) as $chunk) {
            $chunks[] = new static($chunk);
        }

        return new static($chunks);
    }