Step 1: Understanding the Concept
Ease of liquefaction depends on intermolecular attraction. A gas can be liquefied only below its critical temperature, so a lower critical temperature means more difficulty.
Step 2: Compare the gases
\(\text{SO}_2\) (critical temperature about 430 K), \(\text{Cl}_2\) (about 417 K) and \(\text{NH}_3\) (about 405 K) are all easily liquefied.
\(\text{O}_2\) has a critical temperature of only about 155 K.
Step 3: Conclusion
\(\text{O}_2\) has the weakest intermolecular forces and the lowest critical temperature, so it is the hardest to liquefy.
Final Answer:
Oxygen is the gas that is most difficult to liquefy.
\[ \boxed{\text{(D) }\text{O}_2} \]