Common/Model/IdentityTrait.php
public function clearIdentity()
    {
        $this->gender = null;
        $this->firstName = null;
        $this->lastName = null;

        return $this;
    }
public function clearIdentity()
    {
        $this->gender = null;
        $this->firstName = null;
        $this->lastName = null;

        return $this;
    }
Clears the identity.

@return IdentityInterface|$this