Does this mean that both
- 1 mole of $\ce O$ would occupy $22.4~\mathrm L$ (or if this doesn't usually occur in nature, say 1 mole of $\ce{He}$ or another monoatomic gas)
- 1 mole of $\ce{O2}$ would occupy $22.4~\mathrm L$
Yes, it means exactly that. And you're right, a stable gas of $\ce O$ atoms is a pretty exotic thing, so $\ce{He}$ is a much better example.
Wouldn't $\ce{O2}$ contain twice the amount of $\ce O$ matter
Yes and no. The $\ce{O2}$ gas would indeed contain twice the mass of the $\ce O$ gas, but it would contain the same number of particles ("molecular entities") as the $\ce O$ gas.
and hence take up twice the volume?
Nope. There is a lot of empty space in gases. A lot. So much, in fact, that molecules have to get pretty darn large in the gas phase$^\dagger$ before they start to get "cramped" and "insist" on taking up more space (viz., occupying a larger volume).
To give you an idea of just how much room there is, consider what's called the van der Waals volume of $\ce{O2}$. This is an estimate of the total volume actually occupied by one molecule of $\ce{O2}$, and has a value of about $0.053~\mathrm{nm}^3$ (that's 'cubic nanometers'). For one mole of $\ce{O2}$ molecules, that works out to just under $32~\mathrm{cm^3\over mol}$ of volume actually occupied by the oxygen molecules themselves.
However, as you note, that mole of $\ce{O2}$ gas actually expands to fill a full $22.4~\mathrm L$ of space at STP. So, that space is actually only about ${32~\mathrm{cm^3}\over 22.4~\mathrm{L}} = 0.14\%$ full of $\ce{O2}$.
So, even though one $\ce{O2}$ molecule does take up more space than one $\ce O$ atom, compared to the amount of space available, they're both really, really tiny. And, thus, the fact that the two $\ce O$'s in $\ce{O2}$ are bound so closely to one another means that they both behave essentially identically in the pressure they exert when they fill up a container of a given size.
$^\dagger$ At ambient temperature and pressure, anyways.