cloneCharacteristic

Clones characteristics and it's properties using reflection. Reflection is needed to make an exact copy.

Return

Copied characteristic or the same reference if copying not needed.

Parameters

characteristic