Dataclass_transform: add inherit_defaults option

More generally, extending @dataclass_transform is a topic that came up several times (e.g. support_replace), although I don’t know if adding flags will scale well in the future.