Allow Closure generators to access generated attributes

See https://github.com/thephpleague/factory-muffin/blob/2.1/src/Arr.php#L55.