Labcoatz (Youtube) perfectly replicated Coca Cola 2 days ago using organic chemistry analysis and a year of research. Coke never patented the formula (because it would involve sharing the secrets), so apparently it's perfectly ok to create or even sell this formula.