Added two different implementations with macros, one using the MDAbstractArray's setToObj and getAsObj and another one extending the concrete implementations of MDAbstractArray