SafeArrayScope<T>
Helper to scope lifetime of a SAFEARRAY created via
SafeArrayCreate
Destroys the SAFEARRAY (if any) when disposed. Note that this scope currently only works for a
one dimensional SAFEARRAY.