protected function clearState()
    {
        $this->rawLayout       = null;
        $this->context         = null;
        $this->dataAccessor    = null;
        $this->optionsResolver = null;
        $this->typeHelper      = null;
        $this->blockBuilder    = null;
        $this->block           = null;
    }