Add toArray() implementations for java.util.Set.