auth/mnet - MDL-16872 Fix incorrect use of clone() on arrays