The Clone method of the IJavaEnumXXXX interface creates a copy of the enumerator, including the enumerator's current position in its list of elements.
HRESULT Clone(IJavaEnumXXXX **ppEnum)
[out] ppEnum | Returns a pointer to the copied enumerator. |
S_OK Success
E_OUTOFMEMORY Insufficient memory.