Tests to see whether the specified object is a SizeD with the same dimensions as this SizeD.
This method returns true if obj is a SizeD and has the same width and height as this SizeD; otherwise, false.