Restore (copy) a disk image onto a volume. The command name stands for Apple Software Restore. More information: https://www.unix.com/man-page/osx/8/asr/.
sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}}
sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --erase
sudo asr restore --source {{image_file.dmg}} --target {{path/to/volume_file}} --noverify
sudo asr restore --source {{path/to/volume_file}} --target {{path/to/volume_file}}