deep partial comparison of objects