I can’t think of a good reason to pass variables by reference to any modx element. It’s not faster, and it introduces a lot of potential errors, and possibly opportunities for malicious code.
There are already safer ways to get changed values back from an element, imo.