Preliminary version of ArrayWithUnit (unit tests are still missing).