The latest Mac version of the DOSBox-X App fixes this problem with the
macOS clipboard, thanks to fixes to the DOSBox-X code by Wengier Wu.
(The Windows version is unchanged because it wasn't affected by this
problem.)
http://www.columbia.edu/~em36/dosboxapp.html