added copy support for formulas