/// <summary> /// Sets the pending order as a clone to prevent object reference nastiness /// </summary> /// <param name="order">The order to be added to the pending orders dictionary</param> /// <returns></returns> private void SetPendingOrder(Order order) { // only save off clones! _pending[order.Id] = order.Clone(); }