Answer:
The usual way to do this is to pass oxygen gas from a compressed gas cylinder through a coil of hollow copper pipe which is submerged in liquid nitrogen. The copper coil is a good conductor of heat and has a large surface area. Liquid oxygen is then usually collected in a thermos flask.