Call a function at most once and remember the result. Args are not supported