Macro:
Copy source segments to clipboard, that is.
BTW: You have to select this setting:
With kind help from ComplexPoint: https://forum.keyboardmaestro.com/t/get-quoted-and-bracketed-text-from-clipboard/25878/3
alwayslockyourbike
Macro:

Demo: