public function clearParents(): NodeInterface
    {
        /** @var NodeInterface $parent */
        foreach ($this->getParents() as $parent) {
            $this->removeParent($parent->getId());
        }

        return $this;
    }