You can create the MultiTracker object and use the same tracking algorithm for all tracked object as shown in the snippet.
If you want to use different type of tracking algorithm for each tracked object, you should define the tracking algorithm whenever a new object is added to the MultiTracker object.