Prototype pattern demo