Can I use the Scale9Sprite as the stencil for ClippingNode?

I want to mask the sprite inside the sprite that I created from Scale9Sprite, but it seemed not working if I used the Scale9Sprite as the stencil. I tried with normal sprite for the stencil, and it worked.
Any ideas about this?