I think this function was implemented in classic Mx. So let's do it for the new Mx.
Links[1] https://openmx.ssri.psu.edu/users/mspiegel