Make sure to correctly clone Buffer properties
Merge pull request #2 from dpobel/buffer_clone

Make sure to correctly clone Buffer properties