Merge equal and equalObj and support comparing ArrayBuffers