Fixed bug in ModelParameters::clone()
Added test for multi-dimensional output