Answer:
The objects can be distinguished by their weight instead of by mass.
Explanation
Because mass is constant, the two objects cannot be distinguished by mass.
However, gravitational acceleration varies in outer space. Therefore the heavier mass will register a higher reading on a weighing scale.
Note that an object of mass M weighs Mg, where g = acceleration due to gravity.