add default keyword constructor for immutables

Implements #5333.