

You can do what’s called dual licensing, where you make contributes sign an agreement where they give up their code to the org so the org could take it proprietary.
Part of the controversy over Ubuntu’s changes to LXD was the change to this dual licensing setup from a permissive license.
There is uksmd for ram dedupe.