clear method

fun clear()

Clears reference to an object.

Implementation

fun clear() => _pointer = null;