Multiple distinct objects

Unlike in Perl 5, the list repetition operator evaluates the left argument thunk each time, so

my @a = Foo.new xx $n;

produces $n distinct objects.