If, before the marriage, but without her assent, or, if after the marriage, real property is given or assured for the jointure of a wife, or a pecuniary provision is made for her, in lieu of dower, she must make her election whether she will take the jointure or pecuniary provision, or be endowed of the lands of her husband; but she is not entitled to both.
N.Y. Real Prop. Law § 199