public override StackPacket Clone()
{
TS_INPUT_PDU cloneInputPdu = new TS_INPUT_PDU(context);
cloneInputPdu.commonHeader = commonHeader.Clone();
cloneInputPdu.numberEvents = numberEvents;
cloneInputPdu.pad2Octets = pad2Octets;
cloneInputPdu.shareDataHeader = shareDataHeader;
if (slowPathInputEvents != null)
{
cloneInputPdu.slowPathInputEvents = new Collection<TS_INPUT_EVENT>();
for (int count = 0; count < this.slowPathInputEvents.Count; count++)
{
cloneInputPdu.slowPathInputEvents.Add(slowPathInputEvents[count]);
}
}
return cloneInputPdu;
}