This was one of the original arguments for patents. It is actually the reason they're called patents (opposed to "latent"). There had been, in UK, cases of formulas for making certain things, which had been lost because they were kept secret to preserve then-defacto monopolies.