static Rect cloneRect(Rect r) { ret r == null ? null : Rect(r); }