Royal TSX already has this feature.
Double tap on terminal’s title bar and click “Split tabs”. Terminals will be split vertically.
While title menu open, press “option” key and then you can split terminals horizontally.