copy

inline fun copy(block: DataObject.Builder.() -> Unit = {}): DataObject

Copies the existing DataObject into a new Builder instance that can be used to add/remove entries and create a new instance of the DataObject

Parameters

block

Builder scope with which to add or remove entries in the existing DataObject