I tried putting the quantize option as false. It works really well with points, but with a polygon there is still a visible geometric error.
There is a 'generalize' method that might get you what you are looking for.
I hope it helps!
I tried the generalize method but it did not fix the problem I had. The parameters I gave were:
generalize = new GeneralizeParameters()
generalize.geometries = [pointGraphicSelected.geometry]
generalize.deviationUnit = "meters"
generalize.maxDeviation = 0.000001