public override object Clone() { var a = new CozyRepeat(); var act = InnerAction.Clone() as CozyFiniteTimeAction; a.InitWithAction(act, Times); return(a); }