Clone_Range() Could Return A Value?

i’d like to do something such as:

  
local x = renoise.SongPos().sequencer:clone_range(from, to)  
  

Where x would contain the new pattern ids, so I could do something with them after without having to keep track of pattern_sequence myself. As of now, x is nil.

Any suggestions?