Adds a dependency that will be created new each time it's requested.
void add<T>(Function constructor, {String? key});