On the x86 architecture, the Master Boot Record is stored within the first 512 bytes of the boot disk. It's trivial to save or clone. Note that it also contains the DOS partition table.
dd if=/dev/sda of=mbr.img bs=512 count=1
dd if=mbr.img of=/dev/sdb bs=512 count=1