Switched to more idiomatic clone function
Cleaned up includes in example main.cpp