N.Y. Not-for-Profit Corporation Law § 406
(a) The following provisions are hereby included in the certificate of incorporation of every domestic corporation, heretofore or hereafter formed, to which this chapter applies in whole or in part, and which is a "private foundation" as defined in section 509 of the United States internal revenue code of 1954 ("code"):