Imageset union

@skirpichev, @mrocklin Please have a look.
I don't see any clean way to do it.