Equals methods.

fraction (clone too!) and matrix