add is.equal logic for arrays
add mint.object + refactoring