I created this to mount a Prusa i3 Mk3 PSU to the side of a LACK table's surface. It may work for the legs as well.
There's 3 versions:
The PSU slides into the clamps once they're installed.