Standalone ALTER SEQUENCE RESTART WITH and IDENTITY COLUMN RESTART WITH has different behavior.
If standalone sequence is created with initial value 10, then later
RESTARTed WITH value 20 and then RESTARTed, it's restarted to 20.
With identity column RESTART WITH value is not saved and the last
restart goes to 10.
Accordingly to the standard, the START value is part of the "descriptor", so it's stored in metadata.
But in ALTER SEQUENCE RESTART WITH, that descriptor is not updated.
It does only update the sequence's current value.
We had this behavior but it was changed with