newId method

Resource newId()

returns the same resource with a new ID (even if there is already an ID present)

Implementation

Resource newId() => _newId(this);