Copy only a single copy of each path

Bug: https://github.com/gwicke/mathoid/issues/5
Change-Id: I96e529aed515bbe7ccff69347730ff3cfe958a36