public override StackPacket Clone()
{
SlowPathOutputPdu pduClone = new SlowPathOutputPdu();
pduClone.commonHeader = commonHeader;
if (slowPathUpdates != null)
{
Collection<RdpbcgrSlowPathUpdatePdu> updates = new Collection<RdpbcgrSlowPathUpdatePdu>();
for (int i = 0; i < slowPathUpdates.Length; ++i)
{
updates.Add(slowPathUpdates[i]);
}
pduClone.slowPathUpdates = new RdpbcgrSlowPathUpdatePdu[updates.Count];
for (int i = 0; i < updates.Count; ++i)
{
pduClone.slowPathUpdates[i] = updates[i];
}
}
return pduClone;
}