allow empty VMHashes passed to shallow_copy