Surface tension forces all gases and liquids to form a sphere in zero-gee. In order to make liquid oxygen, or any other liquid, into a shape other than a spehere you have to exert an external force upon it. Magnetism wouldn't be sufficient, unless you can form magnetic fields to custom shapes.