makeEmpty

Returns a new empty dataref (or a reference to a shared empty dataref). New or shared, the caller must see that .close is eventually called.