code: public function remove($elementOrFieldset)
      {
          if (!parent::has($elementOrFieldset)
              && $elementOrFieldset === 'identity'
              && $this->identityElement
          ) {
              $elementOrFieldset = $this->identityElement->getName();
          }
  
          return parent::remove($elementOrFieldset);
      }
docs: {@inheritDoc}