public function divide(): self
    {
        return static::create(
            [
                $this->keys(),
                $this->values(),
            ],
            $this->iteratorClass,
            false
        );
    }
public function divide(): self
    {
        return static::create(
            [
                $this->keys(),
                $this->values(),
            ],
            $this->iteratorClass,
            false
        );
    }
public function divide ( ) : self { return static :: create ( [ $ this -> keys ( ) , $ this -> values ( ) , ] , $ this -> iteratorClass , false ) ; }
Divide an array into two arrays. One with keys and the other with values.

@return static
<p>(Immutable)</p>
Divide an array into two arrays . One with keys and the other with values .