Copies a GDate to a newly-allocated GDate. If the input was invalid (as determined by g_date_valid()), the invalid state will be copied as is into the new object.
Available since: 2.56
GDate initialized from
|The caller of the method takes ownership of the returned data, and is responsible for freeing it.|