add util.copy, Model::getCopy, and Model::getDeepCopy