/// <summary> /// Duplicates a profile sequence descriptor. /// </summary> /// <returns>A new <see cref="ProfileSequenceDescriptor"/> instance.</returns> /// <exception cref="LcmsNETException"> /// Failed to create instance. /// </exception> /// <exception cref="ObjectDisposedException"> /// The ProfileSequenceDescriptor has already been disposed. /// </exception> public ProfileSequenceDescriptor Duplicate() { EnsureNotClosed(); return(new ProfileSequenceDescriptor(Interop.DupProfileSequenceDescription(handle), Context)); }