Add clipBehavior: Clip.hardEdge if you need clipping,
and clipping without anti-alias is good enough for your
(and your clients’) eyes. This is the common case
when you clip rectangles or shapes with very small curved areas
(such as the corners of rounded rectangles).

Add clipBehavior: Clip.antiAlias if you need
anti-aliased clipping. This gives you smoother edges
at a slightly higher cost. This is the common case when
dealing with circles and arcs.

Add clip.antiAliasWithSaveLayer if you want the exact
same behavior as before (May 2018). Be aware that it’s
very costly in performance. This is likely to be only
rarely needed. One case where you might need this is if
you have an image overlaid on a very different background color.
In these cases, consider whether you can avoid overlapping
multiple colors in one spot (for example, by having the
background color only present where the image is absent).