public object Clone() { return(new ObjectPoolSettingItem() { Creator = (Func <object>)Creator.Clone(), EnterPool = (Func <object, bool>)EnterPool.Clone(), LeavePool = (Func <object, bool>)LeavePool.Clone(), MaxCount = MaxCount, MinCount = MinCount, PoolType = PoolType, }); }