With respect to property held by a corporation which is a private foundation and which is subject to conditions which permit distributions to the extent of the net income of the property each year but do not permit distributions of the property or any part thereof itself, the directors of the corporation may elect to distribute so much of the property as may be necessary to enable the corporation to avoid liability for any tax imposed by Section 4942 of the federal Internal Revenue Code in the same manner as if the corporation were a trust described in Code Section 53-12-193 and the property were the only property held in the trust and as if the directors were the trustees of the trust.