Step 1: Understanding the Concept
For the same gas, the mass is proportional to the number of moles, and \( n=\dfrac{PV}{RT} \).
Step 2: Container A
\( n_{A}=\dfrac{PV}{RT} \).
Step 3: Container B
\( n_{B}=\dfrac{(2P)(2V)}{R\,(T/2)}=\dfrac{8PV}{RT} \).
Step 4: Ratio
\( \dfrac{m_{A}}{m_{B}}=\dfrac{n_{A}}{n_{B}}=\dfrac{1}{8} \), so the ratio is 1:8, option (B).
Final Answer:
The ratio of the mass of gas in A to that in B is 1:8.
\[ \boxed{\text{(B) }1:8} \]