getInstance

fun getInstance(arg: A): T

Returns the singleton instance, creating it from arg on the first call. Later calls ignore arg and return the existing instance.