copy


function copy<Type>(o:Type) -> Type

Deep copy an object with bridge-finding.

function copy<Type>(o:Type, length:Integer) -> Type[_]

Deep copy an object multiple times to construct an array.

  • o: Source object.
  • length: Length of vector.