By default but if you have enough leverage you can get all sorts of allowances from an employer. I always have any clause struck about the employer owning anything I produce outside of work for example.
(I don't necessarily consider this to be an example of significant leverage just common-sense.)
It's not a 'West' thing, it's a US/wannabe-US company thing. Also likely illegal in most EU countries, anyway.