Yes, has to be done before settlement. But, as you know, there may be stamp duty exemptions for transfers from one spouse to both spouses - but usually only for the main residence (except in Vic where it seems this can be done with investment properties too).