Suppose on the console I get a stack like this:

How to copy stack while maintaining formatting?
When I copy this stack, I get one long line:
VM1130:2 Foobar not foundplayer.store.registerListener @ VM1130:2logErrorsInCallback @ magic_store:221registerListener @ magic_store:240registerListenerThis @ magic_store:246(anonymous function) @ VM1130:2InjectedScript._evaluateOn @ (program):878InjectedScript._evaluateAndWrap @ (program):811InjectedScript.evaluate @ (program):667
Is there a way to copy the stack trace in a more structured way?
source share