public function compact(): IP
    {
        $result = clone $this;

        if ($this->isIPv6) {
            $result->address = inet_ntop(inet_pton($this->address));
        }

        return $result;
    }