If all living parties interested as beneficiaries in a trust created by a will allowed in the commonwealth reside outside thereof, the court having jurisdiction of the trust may, on petition of parties in interest or of the personal representative or trustee, if it considers it just and expedient, authorize the personal representative or trustee to pay the fund to a trustee appointed by the proper court in any other state or country, if all living beneficiaries and the personal representative or trustee signify their consent, and the court is satisfied that the laws of such other state or country secure the due performance of said trust; and upon such payment, shown to the satisfaction of said court, the personal representative or trustee appointed here may be discharged from further responsibility by decree of said court.
Mass. Gen. Laws ch. 190B, § 3-1103