Fixed compilation correctness errors
Replaced boost clone allocator factories by dedicated allocator class, and put clone_ptr out of confusing boost namespace