clear method

void clear()

Clears reference to an object.

Implementation

fun clear() => _pointer = null;