Go back to path.GetAt() returning pointer
Remember to clone your objects