Avoid shadow copy for inline containers
Examples fix. Closes #43