I’ve been fooled more than once before, but after 27 years AI has at last matched the shape-modifying chops of everything from Photoshop to PowerPoint. All good-natured ribbing aside, this should make interface designers seriously happy.
Rectangles now have quickly modifiable corners, including independent radius control. Corner attributes are retained if you scale and rotate your rectangle. Now Illustrator remembers your work — width, height, rotation, corner treatment — so you can return to your original shape.
Here’s a practice file & exercise.