Hash your objects. Check for deep equality. Or whatever!