MathWorks interview question

What's a smart pointer?