protected function returnOriginalMatrixType(Matrix $original, Matrix $result)
    {
        $oClass = get_class($original);
        if ($oClass == 'Chippyash\Matrix\Matrix') {
            return $result;
        }

        return new $oClass($result->toArray());
    }