There is no merger by reason of any grant by way of mortgage or assignment of mortgage from the tenant of any property leased for a term of years, to the landlord of the property, whether by original or sublease, and the same rights and remedies exist as if the grantee in the grant had no other interest or estate in the property than the one granted.