Prototype Pattern C Example