Every person authorized by law to make a will may appoint by will, subject to the approval of the probate court, a guardian or guardians for his or her minor children, whether born at the time of making the will or afterwards, to continue during the minority of the children or for a less time; provided, that, in the case of husband and wife, the survivor, being otherwise qualified, shall be guardian of their children.
R.I. Gen. Laws § 33-15.1-7