Register object whose life cycle is tracked to perform cleanup action
Java object to track
callback method to clean the native peer when the Java object is garbage collected