This Extension on Period is to generate the code for a copyWith(...) function.
Available on Period, provided by the $PeriodCopyWithExtension extension