Whenever any person or corporation shall be given a power of appointment over any property by a transfer which is subject to the provisions of sections 77-2001 to 77-2008.02, whether such power is created before or after June 13, 1955, such power of appointment shall be deemed a transfer of the interest in the property which is subject to such power from the donor to the donee of such power at the date of the donor's death; Provided, if at the date of the donor's death, the power of appointment is limited, in whole or in part, to be exercised in favor of one or more specific beneficiaries or classes of beneficiaries, then, to the extent it is so limited, such power of appointment shall not be deemed a transfer from the donor to the donee of the power, but shall be deemed a transfer of the interest in the property which is subject to the power from the donor of the power to the specific beneficiary or class of beneficiaries, as of the date of the donor's death.