Lineal and collateral warranties, with all their incidents, have been abolished; but the heirs and devisees of a person, who has made a covenant or agreement, are answerable thereon, to the extent of the real property descended or devised to them, in the cases and in the manner prescribed by law.
N.Y. Real Prop. Law § 252