clone method Null safety

Rectangle<T> clone()

Implementation

Rectangle<T> clone() => Rectangle<T>(left, top, width, height);