Returns and removes from a relation all member items with index
index. All removed items are returned
in an array containing each of the removed items. The order of the returned items
is unspecified. If no items have the specified index, an empty array is returned.
Index equality is determined by
using the
== method of
index.