amendDoc<T extends K> abstract method

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

Clones a doc, set amended_from property to the original doc.

Implementation

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