public void Execute() { Example ex = new Example(); ex.Value = 1023; CloneFactory cloner = new CloneFactory(); Example ex2 = cloner.CreateObject(ex); }