Oculus VR makes off with $2 Billion from Facebook. Of the $2 Billion, $400 million was cash, $1.6 Billion was stock and there is a possible future incentive of $300 Million if certain milestones are met.
Oculus explains the deal and why the match makes sense.
Purchasing a company using stock is a great technique to preserve cash. Of course it depends on what you think the value of your current stock will be in the future.