Sorry my post was not very clear.
All transfers between spouses are exempt.
On other transfers stamp duty is paid on the value of the interest passing. So if you have a house worth 800,000 and you transfer 1/4 to your spouse and 1/2 to your child, the spouse pays no stamp duty, the child pays 3.5% on the value of their share less 125000. That is 3.5% of 275000.
For it to work this way the transferees would have to take as tenants in common in particular shares.