copyDoc<T extends K> abstract method

T copyDoc<T extends K>(
  1. T doc
)

Returns a cloned doc, with a new local name.

Implementation

T copyDoc<T extends K>(T doc);