CPLR R. 3211(e)
I don't rembember seeing this before
Lewiarz v Travco Ins. Co., 2011 NY Slip Op 02094 (App. Div. 3rd 2011)
Preliminarily, we conclude that Supreme Court properly entertained defendants' statute of limitations argument set forth for the first time in their motion for summary judgment. Plaintiffs correctly note that defendants had neither raised the statute of limitations defense in their answer nor moved to dismiss the complaint on that ground pursuant to CPLR 3211 (a) prior to their summary judgment motion. However, "'the waiver that would otherwise have resulted from [the failure to plead the defense or move to dismiss the complaint premised on such defense] was retracted by assertion of the defense in connection with the summary judgment motion'" (Allen v Matthews, 266 AD2d 782, 784 , quoting Adsit v Quantam Chem. Corp., 199 AD2d 899, 900  [citation omitted]; see Sullivan v American Airlines, Inc., 80 AD3d 600, 602 ).
I think the cite to Sullivan is a stretch. I didn't look up the others.