Gimp.Resource.duplicate

### Method

# Gimp Resourceduplicate

unstable since: 3.0

#### Declaration [src]

    GimpResource*
    gimp_resource_duplicate (
      GimpResource* resource
    )

#### Description [src]

Duplicates a resource.

Returns a copy having a different, unique ID.

Available since: 3.0

#### Return value

Type: `GimpResource`

A copy of the resource.

The caller of the method takes ownership of the data, and is responsible for freeing it.