An interesting example. This simple Australian last will and testament is designed for a woman in a same sex marriage (SSM) who leaves everything to her wife, but has agreed with her wife that if either should predecease the other they will split the residual estate into two equal shares: one share for my kids and one share for my wife's kids. In this example there are six on her side and three on my side, but it could be any number. It can be easily completed as a form on the screen and then printed and signed by the testatrix and two witnesses.
Last will & testament for a woman in a same sex marriage (SSM); everything to my wife, else 2 equal shares: 1 for my kids and 1 for her kids.